package com.rent.product.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rent.product.dao.PmsBrandDao;

import com.rent.product.entity.PmsBrandEntity;

import com.rent.product.service.PmsBrandService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


@Service("brandService")
public class PmsBrandServiceImpI extends ServiceImpl<PmsBrandDao, PmsBrandEntity> implements PmsBrandService {

    @Resource
    PmsBrandDao brandDao;
    @Transactional
    public List<PmsBrandEntity> list() {
        return brandDao.list();
    }
}
